package com.infore.common.model.entity.exchange;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.infore.common.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 作业任务关联表
 * </p>
 *
 * @author lijh
 * @since 2023-02-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_ex_job_task_info")
public class TJobTaskInfo extends BaseModel<TJobTaskInfo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.UUID)
    private String id;
    /**
     * 对应t_ex_job_task_info表的ID
     */
    @TableField("job_id")

    private String jobId;
    /**
     * 对应t_ex_task_info表的ID
     */
    @TableField("task_id")
    private String taskId;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
